package com.superjson.showpro.service;

import com.superjson.showpro.base.GenericService;
import com.superjson.showpro.entity.SystemRecord;
import com.superjson.showpro.entity.User;
import com.superjson.showpro.shared.result.Result;

import javax.servlet.http.HttpServletRequest;

public interface SystemRecordService extends GenericService<SystemRecord> {

    Result saveSystem(User user, String ua, HttpServletRequest request);
    
    Result<Long> countTodayPageView();

    Result<Long> countAllPageView();
}